<template>
	<v-header  :class="{ 'content-collapse': sidebar.collapse }" />
	
	<div class="content-box" :class="{ 'content-collapse': sidebar.collapse }"  >
		<v-tags></v-tags>
		<div class="content">
			<router-view v-slot="{ Component }">
				<transition name="move" mode="out-in">
					<keep-alive :include="tags.nameList">
						<component :is="Component"></component>
					</keep-alive>
				</transition>
			</router-view>
		</div>
	</div>
  <v-sidebar />
</template>
<script setup lang="ts">
import { useSidebarStore } from '../store/sidebar';
import { useTagsStore } from '../store/tags';
import vSidebar from '../components/sidebar.vue';
import { usePermissStore } from "../store/permiss";

const sidebar = useSidebarStore();
const tags = useTagsStore();

const pinia = usePermissStore();
pinia.getDataDictionary();
pinia.setDisabled();

</script>
<style scoped>
 
</style>
